# Copyright (c) 2021-2023, Arm Limited and Contributors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# Components

# Define a target providing platform-specific CMSIS-Core features that all the
# components can link to (if required).
#
# NOTE: As the SDK aims to be platform-agnostic, it is the SDK's user
# responsibility to link platform-specific CMake targets to
# iotsdk-cmsis-core-device, to deliver CMSIS-Core API, and the relevant
# platform-specific implementation.
add_library(iotsdk-cmsis-core-device INTERFACE)

# DO NOT CHANGE THE ORDER OF ADDITION AS SOME COMPONENTS NEED TO BE ADDED BEFORE OTHERS
add_subdirectory(storage)
add_subdirectory(cmsis_5)
add_subdirectory(arm-2d)
add_subdirectory(cmsis-freertos)
add_subdirectory(azure-rtos)
add_subdirectory(connectivity)
add_subdirectory(trusted-firmware-m)
add_subdirectory(ml-embedded-evaluation-kit)
add_subdirectory(pigweed)
add_subdirectory(pyedmgr)
add_subdirectory(mbedtls)
add_subdirectory(aws-iot-device-sdk-embedded-c)
add_subdirectory(azure-iot-sdk-c)
add_subdirectory(mbed-os-netsocket)
add_subdirectory(sanitizers)
add_subdirectory(bluetooth)
add_subdirectory(coremqtt-agent)
add_subdirectory(create-adu-import-manifest)
add_subdirectory(mbed-atomic)
add_subdirectory(mbed-critical)
add_subdirectory(cmsis-packs)
